import React from 'react';
import './index.less';
import { Button } from 'antd';
import { history } from 'umi';

export default class Demo extends React.Component {
  render() {
    return (
      // <Button onClick={()=>history.push('/admin/welcome')}>DEMO</Button>
      <Button onClick={() => history.push('/article')}>go to article</Button>
    );
  }
}

// export default (props) => {
//   return <Button>DEMO</Button>
// }
